<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title></title>
	<include file="Public/header" />
</head>
<body>
<script type="text/javascript">
	var otherOutboundInfoEditUrl="{:U('Stock/otherOutboundInfoSave')}";//更新数据
	var getotherOutboundInfoUrl="{:U('Stock/get_otherOutboundInfo')}";
	var otherOutboundInfoDelUrl="{:U('Stock/otherOutboundInfoDel')}";

	var order_id="{:I('id')}";//出库单对应id
	var addgoodsurl="{:U('Stock/otherOutboundInfoaddgoods')}";
	<!-- using('../../../default/js/otherOutboundInfo.js'); -->
</script>
<script type="text/javascript" src="__PUBLIC__/default/js/otherOutboundInfo.js?v=1"></script>

	<table id="otherOutboundInfoDatagrid" toolbar="#otherOutboundInfo_tb"></table>
	<!-- 商品列表 -->
	<div id="indexgoodsAddDialog" class="easyui-dialog datagrid-pager-form" title="商品列表" style="width:800px;height:500px;"
        closed="true" buttons="#indexgoodsAddButtons"  modal="true">
		<table id="indexgoodsDatagrid" toolbar="#indexgoods_tb"></table>
		<!-- 商品列表搜索栏 -->
		<div id="indexgoods_tb">
			<form id="indexgoodsSearchForm" method="post" novalidate>
				 <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon icon-all" plain="true" onclick="indexgoodsObj.showAll()">全部</a>   
				商品编码:<input class="easyui-textbox" name="goods_no" style="width:150px;height:30px;"> 
				商品名称:<input class="easyui-textbox" name="goods_name" style="width:150px;height:30px;"> 
				条形码:<input class="easyui-textbox" name="bar_code" style="width:150px;height:30px;">
				<a href="#" class="easyui-linkbutton searchBar" iconCls="icon-search" style="height:30px;">搜索</a>
			</form>
		</div>
    </div>
    <!-- /商品列表 -->
	<!-- 编辑 -->
    <div id="otherOutboundInfoEditDialog" class="easyui-dialog" style="width:400px;padding:10px 20px"
            closed="true" buttons="#otherOutboundInfoEditButtons"  modal="true">
        <form id="otherOutboundInfoEditForm" method="post" novalidate>          
            <div class="fitem">
                <label>单位数量</label>
				 <input name="id"  type="hidden" />
                <input name="unit_count" class="easyui-textbox" data-options="required:true,delay:1000,height:30" />
            </div>
			<div class="fitem">
                <label>出库类型</label>
				<select class="easyui-combobox" name="outbound_cate_no" id="outbound_cate_no" style="width:150px;height:30px;" data-options="required:true,editable:false,panelHeight:'false',validType:['length[2,30]','selected[]']">
					<option value="0">未选择</option>
                    <volist name="outbound_catelist" id="vo">
                        <option value="{$vo['no']}">{$vo['name']}</option>
                    </volist>
                </select>  
            </div>
        </form>
    </div>
    <div id="otherOutboundInfoEditButtons">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="otherOutboundInfoObj.save('{:U('Stock/otherOutboundInfoSave')}')" style="width:90px">更新</a>
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:
    $('#otherOutboundInfoEditDialog').dialog('close')" style="width:90px">取消</a>
    </div>
    <!-- /编辑 -->
    <!-- 搜索栏 -->
    <div id="otherOutboundInfo_tb">
		<a href="javascript:void(0)" onclick="indexgoodsObj.addinfoBar('otherOutboundInfo',addgoodsurl)" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true">添加商品</a>
        <a href="javascript:void(0)" onclick="otherOutboundInfoObj.editBar()" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">修改</a>
        <a href="javascript:void(0)" onclick="otherOutboundInfoObj.removeBar()" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true">删除</a>
		<a href="javascript:void(0)" onclick="otherOutboundInfoObj.reloadBar()" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true">刷新</a>
		<a href="javascript:void(0)" onclick="otherOutboundInfoObj.saveBar()" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true">保存</a>
    </div>
    <!-- /搜索栏 -->
</body>